package day0725;

import java.util.Scanner;

public class Test9 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        double s=sc.nextDouble();
        String result=judge(s);
        System.out.println(result);
    }

    static  String judge(double s){
        //判断成绩等级
        if(s>100 || s<0){
            return "成绩不合法";
        }else if(s>=0 && s<60){
            return "不及格";
        }else if(s>=60 && s<75){
            return  "等级为 中等 ";
        }else if(s>=75 && s<85){
            return "等级为 良好";
        }else{
            return "等级为 优秀";
        }
    }



}
